﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace inventory.forms
{
    public partial class voucherOutInternal : voucherOut 
    {
        public voucherOutInternal()
        {
            try
            {
                InitializeComponent();
                this.myRequireStatementNo = true;
            }
            catch (Exception er)
            {
                this.ShowError(er);
            }
        }
        protected override CrystalDecisions.CrystalReports.Engine.ReportClass GetReport()
        {
            if (!converQtyChk.Checked) return new myReports.inventory.printWhVoucherOut1_Internal();
            return new myReports.inventory.printWhVoucherOut2_Internal();
        }
    }
}
